package com.hyt.it.ogt.ks.model.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 轨迹表-答案轨迹表
 * </p>
 *
 * @author liteng
 * @since 2022-11-22
 */
@Data
@Builder
@Accessors(chain = true)
@TableName("ks_candidate_log_answer")
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="CandidateLogAnswer对象", description="轨迹表-答案轨迹表")
public class CandidateLogAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "UUID(32位)")
    private String id;

    @ApiModelProperty(value = "考试ID")
    private String examId;

    @ApiModelProperty(value = "考生ID")
    private String candidateId;

    @ApiModelProperty(value = "事件类型，1答题记录，2 预警记录，3监考操作，4考生操作")
    private Integer eventType;

    @ApiModelProperty(value = "点击题目5，保存小题答案9，标记、交卷")
    private Integer operateType;

    @ApiModelProperty(value = "操作内容")
    private String operateContent;

    @ApiModelProperty(value = "操作人")
    private String operateUser;

    @ApiModelProperty(value = "小题号")
    private String itemSortName;

    @ApiModelProperty(value = "小题ID")
    private String itemId;

    @ApiModelProperty(value = "比如简答题、填空题")
    private String itemTypeName;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "耗时")
    private Long takeTime;

    @ApiModelProperty(value = "备注")
    private String remark;
}
